#pragma once
#include "cocos2d.h"

USING_NS_CC;

class ScoreboardLayer : public CCLayer
{
public:
	ScoreboardLayer(void);
	virtual ~ScoreboardLayer(void);

	bool init();

	static ScoreboardLayer * create();

	void setScoreboard(int n);

	void addScoreboard(int n);

private:
	CCLabelTTF* pLabel;

	int scoreboard;

	void changScoreboard();
};

